<template>
  <div id="form">
  <el-form :inline="true" :model="formInline" class="demo-form-inline">
    <el-form-item label="审批人">
      <el-input v-model="formInline.user" placeholder="审批人"></el-input>
    </el-form-item>
    <el-form-item label="活动区域">
      <el-select v-model="formInline.region" placeholder="活动区域">
        <el-option label="区域一" value="shanghai"></el-option>
        <el-option label="区域二" value="beijing"></el-option>
      </el-select>
    </el-form-item>
    <el-form-item>
      <el-button type="primary" >查询</el-button>
    </el-form-item>
  </el-form>
  </div>
</template>

<script>
import { ref, computed, onMounted, nextTick,reactive} from "vue";
import { defineAsyncComponent } from 'vue'
export default {
  name:'testmd',
  setup(){
    const formInline=reactive({
       user: '',
       region: ''
    });
    return{
      formInline,
    }
  }
}
</script>

<style>
  #form{
    width: 90%;
    height: 100%;
    margin: 10% 0 0 10%;
  }
</style>
